home *** CD-ROM | disk | FTP | other *** search
- IFND GRAPHICS_PICTURES_I
- GRAPHICS_PICTURES_I SET 1
-
- **
- ** $VER: pictures.i V0.9B
- **
- ** (C) Copyright 1996-1997 DreamWorld Productions.
- ** All Rights Reserved.
- **
-
- IFND DPKERNEL_I
- include 'games/dpkernel.i'
- ENDC
-
- ****************************************************************************
-
- PALETTE = ((ID_PALETTE<<24)|(01<<16))
-
- ****************************************************************************
- * Picture object.
-
- PICVERSION = 1
- TAGS_PICTURE = ((ID_SPCTAGS<<16)|ID_PICTURE)
-
- STRUCTURE PIC,HEAD_SIZEOF ;[00] Standard header.
- APTR PIC_Bitmap ;[12] Bitmap details.
- APTR PIC_Header ;[16] Information header.
- LONG PIC_Options ;[20] Special flags.
- APTR PIC_Palette ;[24] Pointer to Palette.
- APTR PIC_Source ;[28] Where this picture comes from.
- WORD PIC_ScrMode ;[32] Intended screen mode for picture.
- WORD PIC_ScrHeight ;[34] Screen Height (pixels)
- WORD PIC_ScrWidth ;[36] Screen Width (pixels)
-
- *** Private fields below ***
-
- BYTE PIC_AFlags ;Private.
- BYTE PIC_Pad ;Private.
-
- PCA_Bitmap = (TAPTR|PIC_Bitmap)
- PCA_Header = (TAPTR|PIC_Header)
- PCA_Options = (TLONG|PIC_Options)
- PCA_Palette = (TAPTR|PIC_Palette)
- PCA_Source = (TAPTR|PIC_Source)
- PCA_ScrMode = (TWORD|PIC_ScrMode)
- PCA_ScrHeight = (TWORD|PIC_ScrHeight)
- PCA_ScrWidth = (TWORD|PIC_ScrWidth)
-
- PCA_BitmapTags = (TSTEPIN|PIC_Bitmap)
-
- ****************************************************************************
- * Picture, Anim, CardSet etc special options.
-
- B_RESIZEX = 0
- ;B_ = 1
- B_REMAP = 2
- B_RESIZEY = 3
- B_INITIALISED = 31
-
- IMG_REMAP = (1<<B_REMAP) ;Allow remapping.
- IMG_RESIZEX = (1<<B_RESIZEX) ;Allow resize on X axis.
- IMG_RESIZEY = (1<<B_RESIZEY) ;Allow resize on Y axis.
- IMG_INITIALISED = (1<<B_INITIALISED) ;Structure has been initialised.
-
- IMG_RESIZE = IMG_RESIZEX|IMG_RESIZEY ;Allow resize on both axis?
-
- ENDC ;GRAPHICS_PICTURES_I
-